package cn.exrick.service;


import cn.exrick.pojo.TbMember;
import cn.exrick.pojo.front.Member;

public interface LoginService {

    Member userLogin(String username, String password);

    Member getUserByToken(String token);

    int logout(String token);

    /**
     * 通过用户名查询
     * @param phone
     * @return
     */
    Member findMemberByPhone(String phone);
    TbMember findByPhone(String phone);
}
